Optimal. Leaf size=18 \[ \frac{1}{2} \tanh ^{-1}\left (\sqrt{2 x-x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.009766, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {688, 207} \[ \frac{1}{2} \tanh ^{-1}\left (\sqrt{2 x-x^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 688
Rule 207
Rubi steps
\begin{align*} \int \frac{1}{(2-2 x) \sqrt{2 x-x^2}} \, dx &=-\left (4 \operatorname{Subst}\left (\int \frac{1}{-8+8 x^2} \, dx,x,\sqrt{2 x-x^2}\right )\right )\\ &=\frac{1}{2} \tanh ^{-1}\left (\sqrt{2 x-x^2}\right )\\ \end{align*}
Mathematica [B] time = 0.0108599, size = 38, normalized size = 2.11 \[ -\frac{\sqrt{x-2} \sqrt{x} \tan ^{-1}\left (\frac{\sqrt{x-2}}{\sqrt{x}}\right )}{\sqrt{-(x-2) x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.046, size = 15, normalized size = 0.8 \begin{align*}{\frac{1}{2}{\it Artanh} \left ({\frac{1}{\sqrt{- \left ( -1+x \right ) ^{2}+1}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.16931, size = 42, normalized size = 2.33 \begin{align*} \frac{1}{2} \, \log \left (\frac{2 \, \sqrt{-x^{2} + 2 \, x}}{{\left | x - 1 \right |}} + \frac{2}{{\left | x - 1 \right |}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.99834, size = 97, normalized size = 5.39 \begin{align*} \frac{1}{2} \, \log \left (\frac{x + \sqrt{-x^{2} + 2 \, x}}{x}\right ) - \frac{1}{2} \, \log \left (-\frac{x - \sqrt{-x^{2} + 2 \, x}}{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int \frac{1}{x \sqrt{- x^{2} + 2 x} - \sqrt{- x^{2} + 2 x}}\, dx}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.41763, size = 35, normalized size = 1.94 \begin{align*} -\frac{1}{2} \, \log \left (-\frac{2 \,{\left (\sqrt{-x^{2} + 2 \, x} - 1\right )}}{{\left | -2 \, x + 2 \right |}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]